package com.visionet.waveletData.web.entity.group;

import com.visionet.waveletData.web.entity.IdEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * Created by hxpeng on 2017/1/12.
 */
@Entity
@Table(name = "p_robot_group")
public class RobotGroup extends IdEntity implements Serializable {

    private static final long serialVersionUID = -4105757523539805868L;

    @Column(name = "group_id", unique = false, nullable = false, insertable = true, updatable = true, length = 32)
    private String groupId;

    @Column(name = "robot_id", unique = false, nullable = false, insertable = true, updatable = true, length = 32)
    private String robotId;

    @Column(name = "create_by", unique = false, nullable = false, insertable = true, updatable = true, length = 32)
    private String createBy;

    @Column(name = "create_date", unique = false, nullable = false, insertable = true, updatable = true)
    private Date createDate;

    @Column(name = "update_by", unique = false, nullable = false, insertable = true, updatable = true, length = 32)
    private String updateBy;

    @Column(name = "update_date", unique = false, nullable = false, insertable = true, updatable = true)
    private Date updateDate;

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public String getRobotId() {
        return robotId;
    }

    public void setRobotId(String robotId) {
        this.robotId = robotId;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

}
